using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Xml;
using System.IO;

namespace GML.BizTalk.ContextAdderPipelineComponent
{
    public partial class ContextAdder
    {
        public string GetSerializedXml()
        {
            return XmlUtils.SerializeObject(this, typeof(ContextAdder));
        }

        /// <summary>
        /// Deserialize the string into this type of object
        /// </summary>
        /// <param name="sXml"></param>
        /// <returns></returns>
        public static ContextAdder GetDeserializedObject(string sXml)
        {
            return (ContextAdder)XmlUtils.Deserialize2Object(sXml, typeof(ContextAdder));
        }

    }
}
